package com.srd.phone.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.shengrongdai.srd.R;

/**
 * 充值 - 成功 Activity
 */
public class RechargeSucceedActivity extends BaseActivity implements View.OnClickListener {

    private TextView tv_recharge_meney, tv_all_money;
    private Button btn_commit, btn_now_investment;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_recharge_succeed);

        initView();
        initData();
    }

    public void initView() {
        tv_common_title.setText("充值");

        tv_recharge_meney = (TextView)findViewById(R.id.tv_recharge_meney);  // 充值金额
        tv_all_money = (TextView)findViewById(R.id.tv_all_money);               // 当前账户可用金额

        btn_commit = (Button)findViewById(R.id.btn_commit);
        btn_commit.setOnClickListener(this);
        btn_now_investment = (Button)findViewById(R.id.btn_now_investment);
        btn_now_investment.setOnClickListener(this);

    }

    public void initData() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            
            case R.id.btn_commit:  // 完成

                break;

            case R.id.btn_now_investment: // 立刻投资

                break;

        }
    }


    @Override
    protected void onDestroy() {
        super.onDestroy();
//        recycle(presenter, common_url, third_url, phcode_url);
    }

}
